package com.lm.chronicle.entry;

import lombok.Data;
import net.openhft.chronicle.wire.Marshallable;

@Data
public class Order implements Marshallable {
    private String orderId;
    private double amount;

    public Order(String orderId, double amount) {
        this.orderId = orderId;
        this.amount = amount;
    }

    @Override
    public String toString() {
        return Marshallable.$toString(this);
    }
}
